
	{include template('header','common')}
	<script src="{THEME_STYLE_PATH}style/js/jquery.min.js"></script>
<link href="{THEME_STYLE_PATH}style/css/tellfriend.css" type="text/css" rel="stylesheet" />	
	<div id="Mainbox" style="width:938px; padding:20px; background:#fff; border:1px solid #dedeed;">
				<p style="text-align:center; line-height:30px;"><span class="re1">请先登录及时赚，登陆之后才能报名！</span><br>
					<a href="{U('Member/Index/login')}"><input type="button" value="登录"></a>&nbsp;&nbsp;
					<a href="{U('Member/Index/register')}"><input type="button" value="免费注册"></a>
				
				</p>
				<div style=" text-align:center; width:700px; margin:0 auto;">
			<table width="250" border="0" cellspacing="0" cellpadding="0" style="float:left; text-align:center; line-height:24px; margin:0 60px;">
			  <tbody><tr>
				<td colspan="4"><strong>下线推广收入大比拼</strong></td>
			  </tr>
			  <tr>
				<td>排名</td>
				<td>昵称</td>
				<td>推广收入</td>
				<td>奖励</td>
			  </tr>
			  <?php if (is_array($infos)){?>
			  <?php foreach($infos as $k => $v){?>
			<tr>
				<td><?php echo $k+1;?></td>
				<td>{$v[nickname]}</td>
				<td>{$v[total]}</td>
				<td><?php echo exchange_money($v[total]);?></>元</td>
			  
			  </tr>
			  	<?php }?>		  
			  		<?php }?>			
			 </tbody>
			</table>
			
			<table width="250" border="0" cellspacing="0" cellpadding="0" style="float:left; text-align:center; line-height:24px;">
			  <tbody><tr>
				<td colspan="4"><strong>下线推广数量大比拼</strong></td>
			  </tr>
			  <tr>
				<td>排名</td>
				<td>昵称</td>
				<td>推广数量</td>
				<td>奖励</td>
				  <?php if (is_array($countlist)){?>
			  <?php foreach($countlist as $k => $v){?>
			  </tr>
			  	<tr>
				<td><?php echo $k+1;?></td>
				<td>{$v[nickname]}</td>
				<td>{$v[count]}</td>
				<td><?php if ($k+1<=1){echo "600";}elseif($k+1<=2){echo "300";}elseif($k+1<=5){echo "100";}elseif($k+1<=10){echo "50";}elseif($k+1<=20){echo "20";}?>元</td>
			  </tr>
			  	<?php }?>		  
			  		<?php }?>	
			</tbody></table>
			<div class="clear"></div>
		</div>
	</div>
	<!--主体-->
	<!--尾部-->
			{include template('footer','common')}

	<!--尾部-->
</body>
</html>
